package cn.org.channl;

import cn.org.channl.server.NettyServer;
import lombok.extern.slf4j.Slf4j;

/**
 * @author deacon
 * @since 2019/4/2
 */
@Slf4j
public class BootStrap {
    private static final int PORT = 9999;

    public static void main(String[] args) {
        new Thread(new Runnable() {

            @Override
            public void run() {
                /**
                 * 启动TCP服务
                 */
                log.info("bootstrap service start... port {}",PORT);
                new NettyServer().init(PORT);
            }
        }).start();
    }
}